package com.woody.aggregate.infrastructure.messagebox.mapper;

import com.woody.aggregate.infrastructure.messagebox.entity.MessageboxApplicationConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woody.aggregate.infrastructure.messagebox.wrapmodel.MessageboxApplicationQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 弹框应用配置表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-03-19
 */
public interface MessageboxApplicationConfigMapper extends BaseMapper<MessageboxApplicationConfig> {

    void insertBatch(@Param("list") List<MessageboxApplicationConfig> messageboxApplicationConfigs);

    List<MessageboxApplicationConfig> queryListByPriorityAndTypeAndUrl(@Param("query") List<MessageboxApplicationQuery> query);
}
